package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

import java.util.List;

public interface MenuService {
    List<Menu> queryMenuByRoleId(List<Long> roleIds);

    /**
     * 添加、编辑角色窗口页面菜单信息
     * @return
     */
    List<Menu> findMenu();
/**
 * @Author: Nic1
 * @Date: 2020/8/26 9:22
 * @Theme:
 */
    List<Menu> findFuMenuNameAndId();

    PageResult findPage(QueryPageBean queryPageBean);

    void addMenu(Menu menu);

    void editMenu(Menu menu);

    void delete(Integer id);
}
